package org.jeecg.common.modules.doctor.service;

import org.jeecg.common.modules.doctor.entity.DoctorExtend;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 医生扩展信息（大字段）
 * @Author: jeecg-boot
 * @Date:   2020-08-12
 * @Version: V1.0
 */
public interface IDoctorExtendService extends IService<DoctorExtend> {

    /**
     * 获取医生扩展信息
     * @param doctorId
     * @return
     */
    DoctorExtend getByDoctorId(String doctorId);

    /**
     * 根据医生id批量获取扩展信息
     * @param doctorIds
     * @return
     */
    List<DoctorExtend> getByDoctorIds(List<String> doctorIds);


    /**
     * 初始化医生扩展信息
     * @param doctorId
     * @param accessToken
     * @return
     */
    DoctorExtend initDoctorExtend(String doctorId,String accessToken);

    DoctorExtend getByAccessToken(String accessToken);
}
